<!DOCTYPE html>
<html xmlns:c="http://java.sun.com/jstl/core">
    <head>
        <title><g:layoutTitle default="Grails" /></title>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
        <link rel="stylesheet" href="${resource(dir:'css',file:'jquery-ui-1.8.11.custom.css')}" />
        <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <script type="text/javascript" src="${resource(dir:'js',file:'jqueryUtil.js')}"></script>
        <g:layoutHead />
    </head>
    <body>

	<!-- begin header -->
	<div id="header-wrapper">
		<div id="header">
			<div id="logo">
				<h1><a href="#">Tools-Web	</a></h1>
				<p> Criacao e indexacao de Itens no Indice</a></p>
			</div>
			<div id="menu">
				<ul>
					<!-- Se for acom marca o menu -->
					<g:if test="${localMenu.equals('selected')}">
						<li class="current_page_item"><g:link controller="local" action="index">Local</g:link></li>
					</g:if>
					<g:else>
						<li><g:link controller="local" action="index">Local</g:link></li>
					</g:else>
					<g:if test="${acomMenu.equals('selected')}">
						<li class="current_page_item"><g:link controller="acom" action="index">Acom</g:link></li>
					</g:if>
					<g:else>
						<li><g:link controller="acom" action="index">Acom</g:link></li>
					</g:else>
					
					<g:if test="${shopMenu.equals('selected')}">
						<li class="current_page_item"><g:link controller="shop" action="index">Shop</g:link></li>
					</g:if>
					<g:else>
						<li><g:link controller="shop" action="index">Shop</g:link></li>
					</g:else>
					
					<g:if test="${subaMenu.equals('selected')}">
						<li class="current_page_item"><g:link controller="suba" action="index">Suba</g:link></li>
					</g:if>
					<g:else>
						<li><g:link controller="suba" action="index">Suba</g:link></li>
					</g:else>
					
				</ul>
			</div>
		</div>
	</div>
	
	<!-- end #header -->
	 <g:layoutBody />
	<br />
	<br /> 
	<div id="footer">
		<p>Copyright (c) 2011 Eleazer - eleazer@oi.com.br</p>
	</div>

    </body>
</html>